package br.upe.dsc.caeto.core.project;

import br.upe.dsc.caeto.core.application.ApplicationRegister;
import br.upe.dsc.caeto.core.application.ApplicationRepositoryList;

public class Project {
    private String name;
    private String path;
    private ApplicationRegister applications;

    public Project(String name, String path) {
        this.name = name;
        this.path = path;
        this.applications = new ApplicationRegister(
        		new ApplicationRepositoryList());
    }

    public void setName(String name) {
        if (name != null) {
            this.name = name;
        }
    }

    public void setPath(String path) {
        if (path != null) {
            this.path = path;
        }
    }

    public String getName() {
        return this.name;
    }

    public String getPath() {
        return this.path;
    }
    
    public ApplicationRegister getApplications() {
    	return this.applications;
    }
}
